﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

/// <summary>
/// Summary description for datasever
/// </summary>
public class datasever
{
    SqlConnection conn;
    SqlCommand cmd;
	public datasever()
	{
	}
    public SqlConnection getconnect()    {

        string constr = System.Configuration.ConfigurationManager.ConnectionStrings["conStr"].ConnectionString;
        conn = new SqlConnection(constr);
        conn.Open();
        return conn;
    }

}